import {
	request
} from "../../utils/request";

//下单
export const apiOrderPlace = (data) => {
	return request('/order/place', data, 'POST');
}

//订单列表
export const apiOrderList = (data) => {
	return request('/order/list', data);
}
//订单详情
export const apiOrderDetails = (data) => {
	return request('/order/details', data);
}
//申售后
export const apiOrderAfterSales = (data) => {
	return request('/order/after-sales', data,'POST');
}
//查询售后
export const apiGetOrderAfterSales = (data) => {
	return request('/order/after-sales', data);
}